package com.saas.luckyclient.dto.query;


import com.alibaba.cola.dto.Command;

import javax.validation.constraints.NotNull;

public class UserUpdateCmd extends Command {

    @NotNull(message = "id不为空")
    private Long id;
    /**
     *用户名
     */
    @NotNull(message = "账号不为空")
    private String username;
    /**
     *姓名
     */
    @NotNull(message = "姓名不为空")
    private String name;

    /**
     *电话
     */
    @NotNull(message = "密码不为空")
    private String phone;
}
